<?php

namespace App\Http\Requests\Admin\Collection;
use App\Http\Requests\Request;

class resumeObjectiveRequest extends Request {
    public function authorize(){
        return true;
    }
    public function rules(){
        return [
            'intentionjobs'=>'required',
            'jobarea1'=>'required',
            'jobsort1'=>'required'
        ];
    }
    public function messages(){
        return [
            'intentionjobs.required'=>'意向岗位必须填写',
            'jobarea1.required'=>'请选择工作地区',
            'jobsort1.required'=>'请选择工作岗位'
        ];
    }
}